package com.ruoyi.cust.service;

import java.util.List;

import com.ruoyi.cust.domain.CityProject;

/**
 * 项目Service接口
 *
 * @author ruoyi
 * @date 2024-12-06
 */
public interface ICityProjectService {
    /**
     * 查询项目
     *
     * @param projectId 项目主键
     * @return 项目
     */
    public CityProject selectCityProjectByProjectId(Long projectId);

    public CityProject selectAppProjectByProjectId(Long userId,Long projectId);

    List<CityProject> selectCollectCityProjectList(Long l,String searchValue);

    List<CityProject> selectShareCityProjectList(Long l,String searchValue);

    /**
     * 查询项目列表
     *
     * @param cityProject 项目
     * @return 项目集合
     */
    public List<CityProject> selectCityProjectList(CityProject cityProject);

    /**
     * 新增项目
     *
     * @param cityProject 项目
     * @return 结果
     */
    public int insertCityProject(CityProject cityProject);

    /**
     * 修改项目
     *
     * @param cityProject 项目
     * @return 结果
     */
    public int updateCityProject(CityProject cityProject);

    /**
     * 批量删除项目
     *
     * @param projectIds 需要删除的项目主键集合
     * @return 结果
     */
    public int deleteCityProjectByProjectIds(Long[] projectIds);

    /**
     * 删除项目信息
     *
     * @param projectId 项目主键
     * @return 结果
     */
    public int deleteCityProjectByProjectId(Long projectId);

    //多个关键字查询项目列表
    public List<CityProject> selectCityProjectListByKeyword(String storeType,String searchInfo);

    List<CityProject> selectJoinList(CityProject cityProject);

    CityProject selectJoinById(Long projectId);

    List<CityProject> listHotSearch(String storeType);
}
